package com.chaoshi.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultResponse {
    private BigDecimal totalAmount; // 改为BigDecimal类型
    private String currency = "CNY";
    private String message;

    // 添加便捷构造方法
    public ResultResponse(BigDecimal total, String currency) {
        this(total, currency, null);
    }
}
